﻿using System.Data.Linq.Mapping;

namespace AEM.Data.Model
{
    [Table(Name = "TableClientConfig")]
    public class ClientConfig
    {
        public ClientConfig()
        {
            this.ID = 0;
            this.ClientName = string.Empty;
            this.Address = string.Empty;
            this.Phone = string.Empty;
            this.Leader = string.Empty;
            this.LeadersPhone = string.Empty;
            this.SysBackgroud = string.Empty;
            this.UserLogo = string.Empty;
            this.ElevatorInput = ",,";
            this.ElevatorOutput = ",,";
            this.EscalatorInput = ",,";
            this.WalkwayInput = ",,";
        }

        [Column(IsPrimaryKey = true)]
        public long ID { get; set; }
        [Column]
        public string ClientName { get; set; }
        [Column]
        public string Address { get; set; }
        [Column]
        public string Phone { get; set; }
        [Column]
        public string Leader { get; set; }
        [Column]
        public string LeadersPhone { get; set; }
        [Column]
        public string SysBackgroud { get; set; }
        [Column]
        public string UserLogo { get; set; }
        [Column]
        public string ElevatorInput { get; set; }
        [Column]
        public string ElevatorOutput { get; set; }
        [Column]
        public string EscalatorInput { get; set; }
        [Column]
        public string WalkwayInput { get; set; }
    }
}
